package model

import enums.Direction

/** 敌方坦克类型一
 *  普通坦克
 * */
class EnemyTank01(override var x:Int, override var y:Int) :EnemyTank(x,y){
    override var pool: Int=1

    init {
        minCooldownTime=2000
        maxCooldownTime=4000
        moveCooldownTime=80
    }

    override fun draw() {
        imgPath=when(currentDirection){
            Direction.UP->"img/enemy_1_u.gif"
            Direction.DOWN->"img/enemy_1_d.gif"
            Direction.LEFT->"img/enemy_1_l.gif"
            Direction.RIGHT->"img/enemy_1_r.gif"
        }
        super.draw()
    }

}